<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html> 
<head> 
<title></title> 
	<script type="text/javascript" src="../js/common.js"></script>
	
	<link rel="stylesheet" type="text/css" href="../css/common.css">
	<link rel="stylesheet" type="text/css" href="../css/table.css">

<script>
function check(){
	if(fm.shangban.value==""){
		$.messager.alert('提示','请输入上班时间','warning');
		return;
	}
	if(fm.xiaban.value==""){
		$.messager.alert('提示','请输入下班时间','warning');
		return;
	} 
	fm.submit();
}
</script>
</head> 
<body>
<form action="config.html" name="fm" method="post" >
<table width="40%" border="0" cellspacing="1" align="center" cellpadding="1" class="ListTable">
	<thead>
		<tr>
			<td align="center" class="TableRow" colspan="2" nowrap style= "border-bottom:1">
					&nbsp;工作时间&nbsp;
			</td>
		</tr>
	</thead>
	<TBODY>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">上班时间&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="shangban" value="${shangban }"><font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">下班时间&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="xiaban" value="${xiaban }" >
		</TD>
	</TR>
	<TBODY>
</table>
</form>

<table width="40%" border="0" cellspacing="1" align="center" cellpadding="1" class="ListTable">
<tr align=center>
<td>
			<input type="button" class="mybutton" value='保存' onclick="check()"/> &nbsp;
	<input type="button" class="mybutton" value='返回' onclick="history.back();"/></td>
<tr>
</table>
</body>
</html>